<div class="shop_txt" id="shop_txt">
    <a href="flow.php">购物车<span>（<strong><?php if ($this->_var['number'] == 0): ?>0<?php else: ?><?php echo $this->_var['number']; ?><?php endif; ?></strong>）</span></a>
</div>

<div style="opacity: 1; display: none;" class="shopBody" id="shopBody">
    <?php if ($this->_var['goods_list'] != null): ?>

    <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?>
    <ul>
        <li class="shopWhite">
            <div class="shopLi_img">
                <a href="goods.php?id=<?php echo $this->_var['val']['goods_id']; ?>">
                    <img src="<?php echo $this->_var['val']['goods_thumb']; ?>" height="43" width="43">
                </a>
            </div>
            <div class="shopLi_txt">
                <p><a href="goods.php?id=<?php echo $this->_var['val']['goods_id']; ?>"><?php echo $this->_var['val']['goods_name']; ?></a></p>
                <p class="shopLi_pink"><span><?php echo $this->_var['val']['goods_price']; ?></span><span id="i19371" style="color:#999;">x&nbsp;<?php echo $this->_var['val']['goods_number']; ?></span></p>
            </div>
            <div class="shopLi_del">
                <a href="javascript:if (confirm('您确实要把该商品移出购物车么？')) location.href='flow.php?step=drop_goods_header&id=<?php echo $this->_var['val']['rec_id']; ?>&from=<?php echo $this->_var['from']; ?>'; " class="f6">删除</a>

            </div>
        </li>
    </ul>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    <div class="shopSet">
        <div class="set_txt">
            <p>共计<span class="set_gray"><?php echo $this->_var['total']['goods_price']; ?></span></p>
        </div>

        <div class="set_btn">
            <a href="flow.php?step=cart"></a>
        </div>
    </div>
    <?php else: ?>
    <p class="shopNo">购物车内还没有商品，赶快选购吧！</p>
    <?php endif; ?>
</div>